//
// Created by jaesonzhang on 2024/9/13.
//

#ifndef SKIACANVASJSBINDING_RENDEREVENT_H
#define SKIACANVASJSBINDING_RENDEREVENT_H
#include "Event.h"

class RenderEvent: public Event {
 public:
  RenderEvent(int t) : Event() {
    type = t;
  }
  int type = 0;
  
  RenderEvent *clone() const override {
    return new RenderEvent(*this); // 创建并返回当前对象的深拷贝
  }
};
#endif //SKIACANVASJSBINDING_RENDEREVENT_H
